﻿namespace winS.UnityEditor.UIElement
{
    public abstract class EditorControl : EditorElement
    {
        internal EditorControl(ElementFactory elementFactory) : base(elementFactory)
        {
            style.marginTop = style.marginBottom = elementFactory.marginVertical;
            style.marginLeft = style.marginRight = elementFactory.marginHorizontal;
        }
    }
}
